package com.hitqz.robot.api.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author xupkun
 * @date 2024/6/13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tickets")
public class TicketsEntity extends Model<TicketsEntity> {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private Date createTime;

    private Date updateTime;

    private Date finishTime;

    private int status;

    private int allotStatus;

    private String allotRobotSn;

    private String allotRobotName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getAllotStatus() {
        return allotStatus;
    }

    public void setAllotStatus(int allotStatus) {
        this.allotStatus = allotStatus;
    }

    public String getAllotRobotSn() {
        return allotRobotSn;
    }

    public void setAllotRobotSn(String allotRobotSn) {
        this.allotRobotSn = allotRobotSn;
    }

    public String getAllotRobotName() {
        return allotRobotName;
    }

    public void setAllotRobotName(String allotRobotName) {
        this.allotRobotName = allotRobotName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
